package com.blaze.framework.starter.mybatis.plus.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.blaze.framework.core.util.domain.orm.Persistence;
import lombok.Data;

import java.io.Serializable;

/**
 * 抽象实体基类
 * @author created by Zhou Zongbo on 2025/5/30.
 * @param <PK> the type of the identifier
 */
@Data
public class AbstractPersistence<PK extends Serializable> implements Persistence<PK> {
    @TableId(type = IdType.AUTO)
    private PK id;
}
